package com.framework.common.util.redis;

/**
 * @author 龘鵺
 * @version 1.0
 * @className com.framework.common.util.redis
 * @description 权限工具类
 * @datetime 2019-01-09 11:11:11
 */
public class RedisPrefixUtil {
    /**
     * spring组装前缀
     */
    public static final String REDIS_KEY_SPRING = "spring";
    /**
     * 安全模块组装前缀
     */
    public static final String REDIS_KEY_SECURITY = "security";
    /**
     * 记住我组装前缀
     */
    public static final String REDIS_KEY_REMEMBER_ME = "RememberMe";
    /**
     * token存放组装前缀
     */
    public static final String REDIS_KEY_TOKEN = "token";
    /**
     * 交叉键组装前缀
     */
    public static final String REDIS_KEY_CROSS_KEY = "crossKey";
    /**
     * 系统模块组装前缀
     */
    public static final String REDIS_KEY_SYSTEM = "system";

    /**
     * redis权限角色代码缓存前缀
     */
    public static final String PREFIX_STR_PERMISSION_ROLE = "PERMISSION_ROLE";
    /**
     * redis权限菜单代码缓存前缀
     */
    public static final String PREFIX_STR_PERMISSION_MENU = "PERMISSION_MENU";
    /**
     * redis权限按钮代码缓存前缀
     */
    public static final String PREFIX_STR_PERMISSION_BUTTON = "PERMISSION_BUTTON";
    /**
     * redis权限角色URL缓存前缀
     */
    public static final String PREFIX_STR_PERMISSION_ROLE_URL = "PERMISSION_ROLE_URL";
    /**
     * redis帐号登录成功缓存前缀
     */
    public static final String PREFIX_STR_LOGIN_SYSTEM_USER = "LOGIN_SYSTEM_USER";
    /**
     * redis帐号登录Token成功缓存前缀
     */
    public static final String PREFIX_STR_LOGIN_SYSTEM_USER_TOKEN = "LOGIN_SYSTEM_USER_TOKEN";
    /**
     * redis系统后台白名单IP缓存前缀
     */
    public static final String PREFIX_STR_LOGIN_SYSTEM_BACKSTAGE_WHITE_LIST_IP = "SYSTEM_BACKSTAGE_WHITE_LIST_IP";
    /**
     * redis系统前端白名单IP缓存前缀
     */
    public static final String PREFIX_STR_LOGIN_SYSTEM_FRONT_WHITE_LIST_IP = "SYSTEM_FRONT_WHITE_LIST_IP";
    /**
     * redis系统后台黑名单IP缓存前缀
     */
    public static final String PREFIX_STR_LOGIN_SYSTEM_BACKSTAGE_BLACK_LIST_IP = "SYSTEM_BACKSTAGE_BLACK_LIST_IP";
    /**
     * redis系统前端黑名单IP缓存前缀
     */
    public static final String PREFIX_STR_LOGIN_SYSTEM_FRONT_BLACK_LIST_IP = "SYSTEM_FRONT_BLACK_LIST_IP";
    /**
     * redis字典代码缓存前缀
     */
    public static final String PREFIX_STR_DICT_KEY = "DICT_KEY";

    /**
     * redis 帐号启用禁用缓存前缀
     */
    public static final String PREFIX_STR_CONCURRENT_KEY = "CONCURRENT_KEY";

    /**
     * redis 帐号重置密码缓存前缀
     */
    public static final String PREFIX_STR_USER_RESET_PASSWORD_KEY = "USER_RESET_PASSWORD_KEY";

    /**
     * redis 帐号启用禁用缓存前缀
     */
    public static final String PREFIX_STR_USER_ENABLE_KEY = "USER_ENABLE_KEY";

    /**
     * redis 分组 启用、禁用 缓存前缀
     */
    public static final String PREFIX_STR_GROUP_ENABLE_KEY = "GROUP_ENABLE_KEY";

    /**
     * redis 短信配置 启用、禁用 缓存前缀
     */
    public static final String PREFIX_STR_SMS_CONFIG_ENABLE_KEY = "SMS_CONFIG_ENABLE_KEY";
}
